<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <title>后盾人</title>
  </head>
  <body></body>
  <script>
    // let hd = "houdunren";
    // console.log(hd.match(/[ue]/g));
    let tel = "2022-02-23";
    let reg = /^\d{4}([-\/])\d{2}\1\d{2}$/;
    console.log(tel.match(reg));
  </script>
</html>
